<?php
/**
 * Created by PhpStorm.
 * User: lzy
 * Date: 2018/11/1
 * Time: 15:46
 */
namespace App\Weixin\Models;
use App\Base\Models\BaseModel;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * 是否VIP －－用户VIP表
 * Class WeixinUserModel
 * @package App\Weixin\Models
 */
class  WeixinUserIsvipModel extends  BaseModel {

    const CACHE_KEY="wy:vip:userinfo:";
   // use SoftDeletes;
    /**
     * 表名
     * @var string
     */
    public $table="weixin_user_isvip";
    /**
     * 时间自动
     * @var bool
     */
    public $timestamps=true;
    /**
     * The name of the "created at" column.
     *
     * @var string
     */
    const CREATED_AT = 'create_time';  //修改添加时间字段
    /**
     * The name of the "updated at" column.
     *
     * @var string
     */
    const UPDATED_AT = 'update_time';

    /**
     * 删除
     */
   // const DELETED_AT = 'delete_time';
    /**
     * 模型的日期字段保存格式。
     */
    protected $dateFormat = 'U';


}